package mi.payment.constants;

/**
 * @author Created by Lee64 on 2017/8/22.
 */

public enum AccountType {

    OA("OA", "扫码"),
    CC("CC", "贷记卡"),
    DD("DC", "借记卡"),
    SCC("SCC", "准贷记卡"),
    EC("EC", "电子现金"),
    MAG("MAG", "磁条卡"),
    VC("VC", "Visa卡"),
    MC("MC", "万事达卡"),
    AE("AE", "美国运通卡"),
    JCB("JCB", "JCB卡"),
    RPC("RPC", "印度卡"),
    UNK("UNK", "未知");

    private String value;
    private String text;

    AccountType(String value, String text) {
        this.value = value;
        this.text = text;
    }

    public String getValue() {
        return this.value;
    }

    public String getText() {
        return this.text;
    }

    @Override
    public String toString() {
        return "AccountType{" +
                "value='" + value + '\'' +
                ", text='" + text + '\'' +
                '}';
    }

}
